package com.itheima.service;

import com.itheima.common.entity.PageResult;
import com.itheima.common.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;

import java.util.List;

public interface InspectionItemsService {
    List<CheckItem> findAll();

    PageResult findPage(QueryPageBean queryPageBean);

    void addInspectionItems(CheckItem checkItem);

    void deleteInspectionItems(Integer id);

    void editInspectionItems(CheckItem checkItem);

    CheckItem findById(Integer id);


    List<Integer> findCheckItemIdsByCheckGroupId(Integer checkgroupId);
}
